From 087d4ce8c07bb5d7af84030f97f481716701efc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 14 Nov 2025 15:08:07 +0100 Subject: [PATCH] github: ci: add cmake build and source directories MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add cmake build and source directories to suppress the following warning: CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. Signed-off-by: Álvaro Fernández Rojas --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 072d9d5..586b9d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: -DCMAKE_C_COMPILER=${{ matrix.gcc }} \ -DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/build \ --install-prefix ${GITHUB_WORKSPACE}/build \ - -B $BUILD_DIR + -B $BUILD_DIR -S . make -C $BUILD_DIR make -C $BUILD_DIR install echo "size_${{ matrix.arch }}_a=$( find $BUILD_DIR -type f -name libnl-tiny.a -printf '%s' )" >> $GITHUB_OUTPUT -- 2.30.2